import React, { useEffect,  } from 'react'

export default function Com() {
    useEffect(() => {
        return () => {
            console.log('Com：我被销毁了')
        }
    })
    return (
        <div>
            <h4>我是Com</h4>
        </div>
    )
}
